pp108 : Generating Web Service Operations on a WS-AppServer Package

Generating Web Service Operations on a WS-AppServer Package

This topic describes the procedure to generate Web service operations on a WS-AppServer Package.

Before you begin this task:
You must create a Database Metadata and generate WS-AppServer Package using it.

This option helps you to generate Web service operations on the data models and the Java logic that exist in a WS-AppServer Package. Unlike generating standard Web service operations on a Database Metadata, this option helps you to generate Web service operations even on the custom logic that you may have added to a WS-AppServer Package.

Alternatively, you can generate Web service operations from the WS-AppServer Package editor. Both these ways result in a similar output.

  1. Select a starting point and click to create a Web service. The Web Service Wizard appears.
  2. Provide the necessary details to generate the Web service operations on a WS-AppServer Package.

    Note:
    You need to enter details on couple of pages. Click Next to proceed to the subsequent page and continue until you complete entering information on the wizard.

  3. Click Finish on the wizard. The Web Service Generation Wizard closes.

Note: For the Web service operations that are associated to the tables which have non-default schema associated, you must manually associate the schema name to the table name. Double-click the Web service operation and associate the schema name to the table name in the Implementation Details that appear.

The Web service containing the Web service interface and Web service operations is generated and placed under the specified project/folder.

After you complete this task:

  • You must publish the generated Web service and its contents to the organization. For use at run time, attach the Web service interface to the WS-AppServer Service.
  • If required, you can delete a Web service operation from the Ws-AppServer modeler. However, deleting the Web service operation from WS-AppServer modeler does not delete the corresponding Web service operation in the CWS <project> or <folder>. You must manually delete it from the <project> or <folder> in the workspace.

Related reference

Exploring Web Service and its Child Entities
Generate Web Service Operations on WS-AppServer Package - Wizard Interface